// Lean compiler output
// Module: Lean.Compiler.IR.Format
// Imports: public import Lean.Compiler.IR.Basic
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__26;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__2;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__23;
lean_object* l_Std_Format_pretty(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__34;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__16;
LEAN_EXPORT lean_object* l_Lean_IR_instToStringIRType___lam__0(lean_object*);
static lean_object* l_Lean_IR_instToStringExpr___lam__0___closed__0;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__4;
LEAN_EXPORT lean_object* l_Lean_IR_instToStringExpr;
LEAN_EXPORT lean_object* l_Lean_IR_formatArray___redArg___lam__0(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__32;
static lean_object* l_Lean_IR_formatDecl___closed__3;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__2;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__10;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__9;
lean_object* l_String_quote(lean_object*);
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__13;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatArg___private__1(lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__22;
uint8_t lean_usize_dec_eq(size_t, size_t);
LEAN_EXPORT lean_object* l_Lean_IR_formatAlt(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_IR_formatArray___redArg___closed__3;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__35;
static lean_object* l_Lean_IR_formatDecl___closed__2;
static lean_object* l_Lean_IR_formatArray___redArg___closed__7;
LEAN_EXPORT lean_object* l_Lean_IR_formatParams___boxed(lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__36;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__17;
static lean_object* l_Lean_IR_formatAlt___closed__2;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__31;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatDecl___lam__0(lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__2;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatIRType;
static lean_object* l_Lean_IR_formatArray___redArg___closed__4;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__6;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__15;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__3;
LEAN_EXPORT lean_object* l_Lean_IR_instToStringFnBody___lam__0(lean_object*);
LEAN_EXPORT lean_object* lean_ir_format_fn_body_head(lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__24;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatFnBody___lam__0(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0_spec__0(lean_object*, size_t, size_t, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_IR_formatArray___redArg(lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__11;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0_spec__0(lean_object*, size_t, size_t, lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__6;
lean_object* lean_string_length(lean_object*);
lean_object* l_Id_instMonad___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__19;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__33;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatParam;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__21;
lean_object* l_Function_comp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__16;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__9;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__5;
LEAN_EXPORT lean_object* l_List_foldl___at___00Std_Format_joinSep___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_spec__0_spec__0(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo(lean_object*);
lean_object* l_Nat_reprFast(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__1;
size_t lean_usize_of_nat(lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__20;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__16;
static lean_object* l_Lean_IR_formatArray___redArg___closed__5;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__13;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__28;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__12;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__37;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatDecl;
lean_object* lean_nat_to_int(lean_object*);
static lean_object* l_Lean_IR_instToFormatIRType___closed__0;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__27;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__15;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0___boxed(lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__14;
static lean_object* l_Lean_IR_formatArray___redArg___closed__6;
LEAN_EXPORT lean_object* l_Lean_IR_instToStringFnBody;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__11;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__23;
static lean_object* l_Lean_IR_formatArray___redArg___closed__9;
lean_object* l_Id_instMonad___lam__2___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19;
static lean_object* l_Lean_IR_instToFormatLitVal___closed__0;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__6;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__12;
LEAN_EXPORT lean_object* l_Lean_IR_formatParams(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__2;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__29;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatCtorInfo___private__1(lean_object*);
lean_object* lean_array_to_list(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__0;
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__18;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__0;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatParam___private__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0___boxed(lean_object*);
static lean_object* l_Lean_IR_formatArray___redArg___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20;
static lean_object* l_Lean_IR_formatAlt___closed__3;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__13;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__20;
LEAN_EXPORT lean_object* l_Lean_IR_formatDecl(lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__30;
uint8_t lean_name_eq(lean_object*, lean_object*);
lean_object* l_Id_instMonad___lam__3(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_IR_formatAlt___closed__0;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__5;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__14;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__0;
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam(lean_object*);
static lean_object* l_Lean_IR_formatDecl___closed__0;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__1;
LEAN_EXPORT lean_object* l_Lean_IR_instToStringDecl;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__31;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatLitVal;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__8;
extern lean_object* l_Std_Format_defWidth;
LEAN_EXPORT lean_object* l_Nat_cast___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_spec__2(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__0;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__5;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__1;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatLitVal___private__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatCtorInfo;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__29;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__7;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__17;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__21;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__1;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__3;
static lean_object* l_Lean_IR_instToFormatExpr___closed__0;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__0;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__2;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__2;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatArg;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__4;
lean_object* l_Id_instMonad___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatFnBody;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22;
static lean_object* l_Lean_IR_formatArray___redArg___lam__0___closed__1;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__4;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__7;
static lean_object* l_Lean_IR_formatAlt___closed__1;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__25;
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_IR_formatArray(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__24;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__23;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__18;
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__9;
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatExpr;
LEAN_EXPORT lean_object* l_Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0(lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__28;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__15;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7;
LEAN_EXPORT lean_object* l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__12;
static lean_object* l_Lean_IR_instToFormatArg___closed__0;
LEAN_EXPORT lean_object* l_Lean_IR_instToStringIRType;
lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__26;
LEAN_EXPORT lean_object* l_Lean_IR_formatFnBody(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatIRType___private__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_IR_instToStringExpr___lam__0(lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__8;
lean_object* l_Id_instMonad___lam__6(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__27;
static lean_object* l_Lean_IR_formatArray___redArg___lam__0___closed__0;
static lean_object* l_Lean_IR_instToStringDecl___closed__0;
LEAN_EXPORT lean_object* l_Lean_IR_declToString(lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__0;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__30;
size_t lean_usize_add(size_t, size_t);
static lean_object* l_Lean_IR_formatArray___redArg___closed__0;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__3;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4;
lean_object* lean_array_uget(lean_object*, size_t);
static lean_object* l_Lean_IR_instToFormatParam___closed__0;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__5;
static lean_object* l_Lean_IR_formatArray___redArg___closed__8;
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__7;
lean_object* lean_string_append(lean_object*, lean_object*);
static lean_object* l_Lean_IR_instToFormatCtorInfo___closed__0;
lean_object* lean_array_get_size(lean_object*);
lean_object* l_Id_instMonad___lam__0(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__10;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__26;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__5;
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
LEAN_EXPORT lean_object* l_Lean_IR_formatFnBodyHead(lean_object*);
static lean_object* l_Lean_IR_formatArray___redArg___closed__2;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__2;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__6;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25;
lean_object* l_Id_instMonad___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__6;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__19;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__27;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__1;
static lean_object* l_Lean_IR_formatDecl___closed__1;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatExpr___private__1(lean_object*);
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("x_", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("◾", 3, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_2; 
x_2 = !lean_is_exclusive(x_1);
if (x_2 == 0)
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_3 = lean_ctor_get(x_1, 0);
x_4 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_5 = l_Nat_reprFast(x_3);
x_6 = lean_string_append(x_4, x_5);
lean_dec_ref(x_5);
lean_ctor_set_tag(x_1, 3);
lean_ctor_set(x_1, 0, x_6);
return x_1;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_9 = l_Nat_reprFast(x_7);
x_10 = lean_string_append(x_8, x_9);
lean_dec_ref(x_9);
x_11 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
else
{
lean_object* x_12; 
x_12 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__2;
return x_12;
}
}
}
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatArg___private__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_instToFormatArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_IR_instToFormatArg___private__1), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_instToFormatArg() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_IR_instToFormatArg___closed__0;
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatArray___redArg___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__6), 4, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatArray___redArg___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__5___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatArray___redArg___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__4___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatArray___redArg___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__3), 4, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatArray___redArg___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__2___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatArray___redArg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__1___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatArray___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__0), 4, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatArray___redArg___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_IR_formatArray___redArg___closed__1;
x_2 = l_Lean_IR_formatArray___redArg___closed__0;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_IR_formatArray___redArg___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_1 = l_Lean_IR_formatArray___redArg___closed__5;
x_2 = l_Lean_IR_formatArray___redArg___closed__4;
x_3 = l_Lean_IR_formatArray___redArg___closed__3;
x_4 = l_Lean_IR_formatArray___redArg___closed__2;
x_5 = l_Lean_IR_formatArray___redArg___closed__7;
x_6 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_6, 0, x_5);
lean_ctor_set(x_6, 1, x_4);
lean_ctor_set(x_6, 2, x_3);
lean_ctor_set(x_6, 3, x_2);
lean_ctor_set(x_6, 4, x_1);
return x_6;
}
}
static lean_object* _init_l_Lean_IR_formatArray___redArg___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_IR_formatArray___redArg___closed__6;
x_2 = l_Lean_IR_formatArray___redArg___closed__8;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_IR_formatArray___redArg___lam__0___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" ", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatArray___redArg___lam__0___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatArray___redArg___lam__0___closed__0;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_formatArray___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_4 = l_Lean_IR_formatArray___redArg___lam__0___closed__1;
x_5 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_5, 0, x_2);
lean_ctor_set(x_5, 1, x_4);
x_6 = lean_apply_1(x_1, x_3);
x_7 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_7, 0, x_5);
lean_ctor_set(x_7, 1, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_formatArray___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_3 = lean_box(0);
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_array_get_size(x_2);
x_6 = l_Lean_IR_formatArray___redArg___closed__9;
x_7 = lean_nat_dec_lt(x_4, x_5);
if (x_7 == 0)
{
lean_dec(x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_3;
}
else
{
uint8_t x_8; 
x_8 = lean_nat_dec_le(x_5, x_5);
if (x_8 == 0)
{
lean_dec(x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_3;
}
else
{
lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; 
x_9 = lean_alloc_closure((void*)(l_Lean_IR_formatArray___redArg___lam__0), 3, 1);
lean_closure_set(x_9, 0, x_1);
x_10 = 0;
x_11 = lean_usize_of_nat(x_5);
lean_dec(x_5);
x_12 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_box(0), lean_box(0), lean_box(0), x_6, x_9, x_2, x_10, x_11, x_3);
return x_12;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_IR_formatArray(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_IR_formatArray___redArg(x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_2; 
x_2 = !lean_is_exclusive(x_1);
if (x_2 == 0)
{
lean_object* x_3; lean_object* x_4; 
x_3 = lean_ctor_get(x_1, 0);
x_4 = l_Nat_reprFast(x_3);
lean_ctor_set_tag(x_1, 3);
lean_ctor_set(x_1, 0, x_4);
return x_1;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_1, 0);
lean_inc(x_5);
lean_dec(x_1);
x_6 = l_Nat_reprFast(x_5);
x_7 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_7, 0, x_6);
return x_7;
}
}
else
{
uint8_t x_8; 
x_8 = !lean_is_exclusive(x_1);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_ctor_get(x_1, 0);
x_10 = l_String_quote(x_9);
lean_ctor_set_tag(x_1, 3);
lean_ctor_set(x_1, 0, x_10);
return x_1;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = lean_ctor_get(x_1, 0);
lean_inc(x_11);
lean_dec(x_1);
x_12 = l_String_quote(x_11);
x_13 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_13, 0, x_12);
return x_13;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatLitVal___private__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_instToFormatLitVal___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_IR_instToFormatLitVal___private__1), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_instToFormatLitVal() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_IR_instToFormatLitVal___closed__0;
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("[", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__0;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("]", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__2;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ctor_", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(".", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__6;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_33; uint8_t x_34; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = lean_ctor_get(x_1, 1);
lean_inc(x_3);
x_4 = lean_ctor_get(x_1, 3);
lean_inc(x_4);
x_5 = lean_ctor_get(x_1, 4);
lean_inc(x_5);
lean_dec_ref(x_1);
x_18 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__5;
x_19 = l_Nat_reprFast(x_3);
x_20 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_20, 0, x_19);
x_21 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_21, 0, x_18);
lean_ctor_set(x_21, 1, x_20);
x_33 = lean_unsigned_to_nat(0u);
x_34 = lean_nat_dec_lt(x_33, x_4);
if (x_34 == 0)
{
uint8_t x_35; 
x_35 = lean_nat_dec_lt(x_33, x_5);
x_22 = x_35;
goto block_32;
}
else
{
x_22 = x_34;
goto block_32;
}
block_17:
{
lean_object* x_7; uint8_t x_8; 
x_7 = lean_box(0);
x_8 = lean_name_eq(x_2, x_7);
if (x_8 == 0)
{
uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 
x_9 = 1;
x_10 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1;
x_11 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_11, 0, x_6);
lean_ctor_set(x_11, 1, x_10);
x_12 = l_Lean_Name_toString(x_2, x_9);
x_13 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_13, 0, x_12);
x_14 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_14, 0, x_11);
lean_ctor_set(x_14, 1, x_13);
x_15 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3;
x_16 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_16, 0, x_14);
lean_ctor_set(x_16, 1, x_15);
return x_16;
}
else
{
lean_dec(x_2);
return x_6;
}
}
block_32:
{
if (x_22 == 0)
{
lean_dec(x_5);
lean_dec(x_4);
x_6 = x_21;
goto block_17;
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_23 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__7;
x_24 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_24, 0, x_21);
lean_ctor_set(x_24, 1, x_23);
x_25 = l_Nat_reprFast(x_4);
x_26 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_26, 0, x_25);
x_27 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_27, 0, x_24);
lean_ctor_set(x_27, 1, x_26);
x_28 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_28, 0, x_27);
lean_ctor_set(x_28, 1, x_23);
x_29 = l_Nat_reprFast(x_5);
x_30 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_30, 0, x_29);
x_31 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_31, 0, x_28);
lean_ctor_set(x_31, 1, x_30);
x_6 = x_31;
goto block_17;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatCtorInfo___private__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_instToFormatCtorInfo___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_IR_instToFormatCtorInfo___private__1), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_instToFormatCtorInfo() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_IR_instToFormatCtorInfo___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0_spec__0(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_eq(x_2, x_3);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; 
x_6 = lean_array_uget(x_1, x_2);
x_7 = l_Lean_IR_formatArray___redArg___lam__0___closed__1;
x_8 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_8, 0, x_4);
lean_ctor_set(x_8, 1, x_7);
x_9 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(x_6);
x_10 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_10, 0, x_8);
lean_ctor_set(x_10, 1, x_9);
x_11 = 1;
x_12 = lean_usize_add(x_2, x_11);
x_2 = x_12;
x_4 = x_10;
goto _start;
}
else
{
return x_4;
}
}
}
LEAN_EXPORT lean_object* l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_2 = lean_box(0);
x_3 = lean_unsigned_to_nat(0u);
x_4 = lean_array_get_size(x_1);
x_5 = lean_nat_dec_lt(x_3, x_4);
if (x_5 == 0)
{
lean_dec(x_4);
return x_2;
}
else
{
uint8_t x_6; 
x_6 = lean_nat_dec_le(x_4, x_4);
if (x_6 == 0)
{
lean_dec(x_4);
return x_2;
}
else
{
size_t x_7; size_t x_8; lean_object* x_9; 
x_7 = 0;
x_8 = lean_usize_of_nat(x_4);
lean_dec(x_4);
x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0_spec__0(x_1, x_7, x_8, x_2);
return x_9;
}
}
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("reset[", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__0;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("] ", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__2;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("reuse", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" in ", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__6;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("!", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("proj[", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("uproj[", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__12;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("sproj[", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(", ", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__16;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("pap ", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__18;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__20() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("app ", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__20;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("box ", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__24() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("unbox ", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__24;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__26() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("isShared ", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__27() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__26;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr(lean_object* x_1) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
uint8_t x_2; 
x_2 = !lean_is_exclusive(x_1);
if (x_2 == 0)
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_3 = lean_ctor_get(x_1, 0);
x_4 = lean_ctor_get(x_1, 1);
x_5 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo(x_3);
x_6 = l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(x_4);
lean_dec_ref(x_4);
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_6);
lean_ctor_set(x_1, 0, x_5);
return x_1;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_7 = lean_ctor_get(x_1, 0);
x_8 = lean_ctor_get(x_1, 1);
lean_inc(x_8);
lean_inc(x_7);
lean_dec(x_1);
x_9 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo(x_7);
x_10 = l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(x_8);
lean_dec_ref(x_8);
x_11 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_11, 0, x_9);
lean_ctor_set(x_11, 1, x_10);
return x_11;
}
}
case 1:
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_1);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_13 = lean_ctor_get(x_1, 0);
x_14 = lean_ctor_get(x_1, 1);
x_15 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__1;
x_16 = l_Nat_reprFast(x_13);
x_17 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_17, 0, x_16);
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_17);
lean_ctor_set(x_1, 0, x_15);
x_18 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3;
x_19 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_19, 0, x_1);
lean_ctor_set(x_19, 1, x_18);
x_20 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_21 = l_Nat_reprFast(x_14);
x_22 = lean_string_append(x_20, x_21);
lean_dec_ref(x_21);
x_23 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_23, 0, x_22);
x_24 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_24, 0, x_19);
lean_ctor_set(x_24, 1, x_23);
return x_24;
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_25 = lean_ctor_get(x_1, 0);
x_26 = lean_ctor_get(x_1, 1);
lean_inc(x_26);
lean_inc(x_25);
lean_dec(x_1);
x_27 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__1;
x_28 = l_Nat_reprFast(x_25);
x_29 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_29, 0, x_28);
x_30 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_30, 0, x_27);
lean_ctor_set(x_30, 1, x_29);
x_31 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3;
x_32 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set(x_32, 1, x_31);
x_33 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_34 = l_Nat_reprFast(x_26);
x_35 = lean_string_append(x_33, x_34);
lean_dec_ref(x_34);
x_36 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_36, 0, x_35);
x_37 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_37, 0, x_32);
lean_ctor_set(x_37, 1, x_36);
return x_37;
}
}
case 2:
{
lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; 
x_38 = lean_ctor_get(x_1, 0);
lean_inc(x_38);
x_39 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_39);
x_40 = lean_ctor_get_uint8(x_1, sizeof(void*)*3);
x_41 = lean_ctor_get(x_1, 2);
lean_inc_ref(x_41);
lean_dec_ref(x_1);
x_42 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5;
if (x_40 == 0)
{
lean_object* x_60; 
x_60 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8;
x_43 = x_60;
goto block_59;
}
else
{
lean_object* x_61; 
x_61 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__9;
x_43 = x_61;
goto block_59;
}
block_59:
{
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; 
x_44 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_44, 0, x_43);
x_45 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_45, 0, x_42);
lean_ctor_set(x_45, 1, x_44);
x_46 = l_Lean_IR_formatArray___redArg___lam__0___closed__1;
x_47 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_47, 0, x_45);
lean_ctor_set(x_47, 1, x_46);
x_48 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_49 = l_Nat_reprFast(x_38);
x_50 = lean_string_append(x_48, x_49);
lean_dec_ref(x_49);
x_51 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_51, 0, x_50);
x_52 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_52, 0, x_47);
lean_ctor_set(x_52, 1, x_51);
x_53 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7;
x_54 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_54, 0, x_52);
lean_ctor_set(x_54, 1, x_53);
x_55 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo(x_39);
x_56 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_56, 0, x_54);
lean_ctor_set(x_56, 1, x_55);
x_57 = l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(x_41);
lean_dec_ref(x_41);
x_58 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_58, 0, x_56);
lean_ctor_set(x_58, 1, x_57);
return x_58;
}
}
case 3:
{
uint8_t x_62; 
x_62 = !lean_is_exclusive(x_1);
if (x_62 == 0)
{
lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; 
x_63 = lean_ctor_get(x_1, 0);
x_64 = lean_ctor_get(x_1, 1);
x_65 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11;
x_66 = l_Nat_reprFast(x_63);
x_67 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_67, 0, x_66);
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_67);
lean_ctor_set(x_1, 0, x_65);
x_68 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3;
x_69 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_69, 0, x_1);
lean_ctor_set(x_69, 1, x_68);
x_70 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_71 = l_Nat_reprFast(x_64);
x_72 = lean_string_append(x_70, x_71);
lean_dec_ref(x_71);
x_73 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_73, 0, x_72);
x_74 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_74, 0, x_69);
lean_ctor_set(x_74, 1, x_73);
return x_74;
}
else
{
lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; 
x_75 = lean_ctor_get(x_1, 0);
x_76 = lean_ctor_get(x_1, 1);
lean_inc(x_76);
lean_inc(x_75);
lean_dec(x_1);
x_77 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11;
x_78 = l_Nat_reprFast(x_75);
x_79 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_79, 0, x_78);
x_80 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_80, 0, x_77);
lean_ctor_set(x_80, 1, x_79);
x_81 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3;
x_82 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_82, 0, x_80);
lean_ctor_set(x_82, 1, x_81);
x_83 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_84 = l_Nat_reprFast(x_76);
x_85 = lean_string_append(x_83, x_84);
lean_dec_ref(x_84);
x_86 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_86, 0, x_85);
x_87 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_87, 0, x_82);
lean_ctor_set(x_87, 1, x_86);
return x_87;
}
}
case 4:
{
uint8_t x_88; 
x_88 = !lean_is_exclusive(x_1);
if (x_88 == 0)
{
lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; 
x_89 = lean_ctor_get(x_1, 0);
x_90 = lean_ctor_get(x_1, 1);
x_91 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__13;
x_92 = l_Nat_reprFast(x_89);
x_93 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_93, 0, x_92);
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_93);
lean_ctor_set(x_1, 0, x_91);
x_94 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3;
x_95 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_95, 0, x_1);
lean_ctor_set(x_95, 1, x_94);
x_96 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_97 = l_Nat_reprFast(x_90);
x_98 = lean_string_append(x_96, x_97);
lean_dec_ref(x_97);
x_99 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_99, 0, x_98);
x_100 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_100, 0, x_95);
lean_ctor_set(x_100, 1, x_99);
return x_100;
}
else
{
lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; 
x_101 = lean_ctor_get(x_1, 0);
x_102 = lean_ctor_get(x_1, 1);
lean_inc(x_102);
lean_inc(x_101);
lean_dec(x_1);
x_103 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__13;
x_104 = l_Nat_reprFast(x_101);
x_105 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_105, 0, x_104);
x_106 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_106, 0, x_103);
lean_ctor_set(x_106, 1, x_105);
x_107 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3;
x_108 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_108, 0, x_106);
lean_ctor_set(x_108, 1, x_107);
x_109 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_110 = l_Nat_reprFast(x_102);
x_111 = lean_string_append(x_109, x_110);
lean_dec_ref(x_110);
x_112 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_112, 0, x_111);
x_113 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_113, 0, x_108);
lean_ctor_set(x_113, 1, x_112);
return x_113;
}
}
case 5:
{
lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; 
x_114 = lean_ctor_get(x_1, 0);
lean_inc(x_114);
x_115 = lean_ctor_get(x_1, 1);
lean_inc(x_115);
x_116 = lean_ctor_get(x_1, 2);
lean_inc(x_116);
lean_dec_ref(x_1);
x_117 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__15;
x_118 = l_Nat_reprFast(x_114);
x_119 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_119, 0, x_118);
x_120 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_120, 0, x_117);
lean_ctor_set(x_120, 1, x_119);
x_121 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17;
x_122 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_122, 0, x_120);
lean_ctor_set(x_122, 1, x_121);
x_123 = l_Nat_reprFast(x_115);
x_124 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_124, 0, x_123);
x_125 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_125, 0, x_122);
lean_ctor_set(x_125, 1, x_124);
x_126 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3;
x_127 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_127, 0, x_125);
lean_ctor_set(x_127, 1, x_126);
x_128 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_129 = l_Nat_reprFast(x_116);
x_130 = lean_string_append(x_128, x_129);
lean_dec_ref(x_129);
x_131 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_131, 0, x_130);
x_132 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_132, 0, x_127);
lean_ctor_set(x_132, 1, x_131);
return x_132;
}
case 6:
{
uint8_t x_133; 
x_133 = !lean_is_exclusive(x_1);
if (x_133 == 0)
{
lean_object* x_134; lean_object* x_135; uint8_t x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; 
x_134 = lean_ctor_get(x_1, 0);
x_135 = lean_ctor_get(x_1, 1);
x_136 = 1;
x_137 = l_Lean_Name_toString(x_134, x_136);
x_138 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_138, 0, x_137);
x_139 = l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(x_135);
lean_dec_ref(x_135);
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_139);
lean_ctor_set(x_1, 0, x_138);
return x_1;
}
else
{
lean_object* x_140; lean_object* x_141; uint8_t x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; 
x_140 = lean_ctor_get(x_1, 0);
x_141 = lean_ctor_get(x_1, 1);
lean_inc(x_141);
lean_inc(x_140);
lean_dec(x_1);
x_142 = 1;
x_143 = l_Lean_Name_toString(x_140, x_142);
x_144 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_144, 0, x_143);
x_145 = l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(x_141);
lean_dec_ref(x_141);
x_146 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_146, 0, x_144);
lean_ctor_set(x_146, 1, x_145);
return x_146;
}
}
case 7:
{
uint8_t x_147; 
x_147 = !lean_is_exclusive(x_1);
if (x_147 == 0)
{
lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; 
x_148 = lean_ctor_get(x_1, 0);
x_149 = lean_ctor_get(x_1, 1);
x_150 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__19;
x_151 = 1;
x_152 = l_Lean_Name_toString(x_148, x_151);
x_153 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_153, 0, x_152);
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_153);
lean_ctor_set(x_1, 0, x_150);
x_154 = l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(x_149);
lean_dec_ref(x_149);
x_155 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_155, 0, x_1);
lean_ctor_set(x_155, 1, x_154);
return x_155;
}
else
{
lean_object* x_156; lean_object* x_157; lean_object* x_158; uint8_t x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; 
x_156 = lean_ctor_get(x_1, 0);
x_157 = lean_ctor_get(x_1, 1);
lean_inc(x_157);
lean_inc(x_156);
lean_dec(x_1);
x_158 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__19;
x_159 = 1;
x_160 = l_Lean_Name_toString(x_156, x_159);
x_161 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_161, 0, x_160);
x_162 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_162, 0, x_158);
lean_ctor_set(x_162, 1, x_161);
x_163 = l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(x_157);
lean_dec_ref(x_157);
x_164 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_164, 0, x_162);
lean_ctor_set(x_164, 1, x_163);
return x_164;
}
}
case 8:
{
uint8_t x_165; 
x_165 = !lean_is_exclusive(x_1);
if (x_165 == 0)
{
lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; 
x_166 = lean_ctor_get(x_1, 0);
x_167 = lean_ctor_get(x_1, 1);
x_168 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__21;
x_169 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_170 = l_Nat_reprFast(x_166);
x_171 = lean_string_append(x_169, x_170);
lean_dec_ref(x_170);
x_172 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_172, 0, x_171);
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_172);
lean_ctor_set(x_1, 0, x_168);
x_173 = l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(x_167);
lean_dec_ref(x_167);
x_174 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_174, 0, x_1);
lean_ctor_set(x_174, 1, x_173);
return x_174;
}
else
{
lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; 
x_175 = lean_ctor_get(x_1, 0);
x_176 = lean_ctor_get(x_1, 1);
lean_inc(x_176);
lean_inc(x_175);
lean_dec(x_1);
x_177 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__21;
x_178 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_179 = l_Nat_reprFast(x_175);
x_180 = lean_string_append(x_178, x_179);
lean_dec_ref(x_179);
x_181 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_181, 0, x_180);
x_182 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_182, 0, x_177);
lean_ctor_set(x_182, 1, x_181);
x_183 = l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(x_176);
lean_dec_ref(x_176);
x_184 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_184, 0, x_182);
lean_ctor_set(x_184, 1, x_183);
return x_184;
}
}
case 9:
{
uint8_t x_185; 
x_185 = !lean_is_exclusive(x_1);
if (x_185 == 0)
{
lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; 
x_186 = lean_ctor_get(x_1, 1);
x_187 = lean_ctor_get(x_1, 0);
lean_dec(x_187);
x_188 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__23;
x_189 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_190 = l_Nat_reprFast(x_186);
x_191 = lean_string_append(x_189, x_190);
lean_dec_ref(x_190);
x_192 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_192, 0, x_191);
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_192);
lean_ctor_set(x_1, 0, x_188);
return x_1;
}
else
{
lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; 
x_193 = lean_ctor_get(x_1, 1);
lean_inc(x_193);
lean_dec(x_1);
x_194 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__23;
x_195 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_196 = l_Nat_reprFast(x_193);
x_197 = lean_string_append(x_195, x_196);
lean_dec_ref(x_196);
x_198 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_198, 0, x_197);
x_199 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_199, 0, x_194);
lean_ctor_set(x_199, 1, x_198);
return x_199;
}
}
case 10:
{
uint8_t x_200; 
x_200 = !lean_is_exclusive(x_1);
if (x_200 == 0)
{
lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; 
x_201 = lean_ctor_get(x_1, 0);
x_202 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25;
x_203 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_204 = l_Nat_reprFast(x_201);
x_205 = lean_string_append(x_203, x_204);
lean_dec_ref(x_204);
lean_ctor_set_tag(x_1, 3);
lean_ctor_set(x_1, 0, x_205);
x_206 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_206, 0, x_202);
lean_ctor_set(x_206, 1, x_1);
return x_206;
}
else
{
lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; 
x_207 = lean_ctor_get(x_1, 0);
lean_inc(x_207);
lean_dec(x_1);
x_208 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25;
x_209 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_210 = l_Nat_reprFast(x_207);
x_211 = lean_string_append(x_209, x_210);
lean_dec_ref(x_210);
x_212 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_212, 0, x_211);
x_213 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_213, 0, x_208);
lean_ctor_set(x_213, 1, x_212);
return x_213;
}
}
case 11:
{
lean_object* x_214; lean_object* x_215; 
x_214 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_214);
lean_dec_ref(x_1);
x_215 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal(x_214);
return x_215;
}
default: 
{
uint8_t x_216; 
x_216 = !lean_is_exclusive(x_1);
if (x_216 == 0)
{
lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; 
x_217 = lean_ctor_get(x_1, 0);
x_218 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__27;
x_219 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_220 = l_Nat_reprFast(x_217);
x_221 = lean_string_append(x_219, x_220);
lean_dec_ref(x_220);
lean_ctor_set_tag(x_1, 3);
lean_ctor_set(x_1, 0, x_221);
x_222 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_222, 0, x_218);
lean_ctor_set(x_222, 1, x_1);
return x_222;
}
else
{
lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; 
x_223 = lean_ctor_get(x_1, 0);
lean_inc(x_223);
lean_dec(x_1);
x_224 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__27;
x_225 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_226 = l_Nat_reprFast(x_223);
x_227 = lean_string_append(x_225, x_226);
lean_dec_ref(x_226);
x_228 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_228, 0, x_227);
x_229 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_229, 0, x_224);
lean_ctor_set(x_229, 1, x_228);
return x_229;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0_spec__0(x_1, x_5, x_6, x_4);
lean_dec_ref(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatExpr___private__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_instToFormatExpr___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_IR_instToFormatExpr___private__1), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_instToFormatExpr() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_IR_instToFormatExpr___closed__0;
return x_1;
}
}
static lean_object* _init_l_Lean_IR_instToStringExpr___lam__0___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Std_Format_defWidth;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_instToStringExpr___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr(x_1);
x_3 = l_Lean_IR_instToStringExpr___lam__0___closed__0;
x_4 = lean_unsigned_to_nat(0u);
x_5 = l_Std_Format_pretty(x_2, x_3, x_4, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_IR_instToStringExpr() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_IR_instToStringExpr___lam__0), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Nat_cast___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_spec__2(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("float", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__0;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("u8", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__2;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("u16", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__4;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("u32", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__6;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("u64", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__8;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("usize", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__10;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("obj", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__12;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tobj", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__14;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("float32", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__16;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("struct ", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_3; 
lean_dec(x_2);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; 
x_4 = lean_ctor_get(x_1, 1);
if (lean_obj_tag(x_4) == 0)
{
lean_object* x_5; lean_object* x_6; 
lean_dec(x_2);
x_5 = lean_ctor_get(x_1, 0);
lean_inc(x_5);
lean_dec_ref(x_1);
x_6 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_5);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
lean_inc(x_4);
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec_ref(x_1);
x_8 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_7);
x_9 = l_List_foldl___at___00Std_Format_joinSep___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_spec__0_spec__0(x_2, x_8, x_4);
return x_9;
}
}
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("{", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20;
x_2 = lean_string_length(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22;
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("}", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__26() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("union ", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__27() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__26;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__28() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tagged", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__29() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__28;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__30() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("void", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__31() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__30;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(lean_object* x_1) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
lean_object* x_2; 
x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__1;
return x_2;
}
case 1:
{
lean_object* x_3; 
x_3 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__3;
return x_3;
}
case 2:
{
lean_object* x_4; 
x_4 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__5;
return x_4;
}
case 3:
{
lean_object* x_5; 
x_5 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__7;
return x_5;
}
case 4:
{
lean_object* x_6; 
x_6 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__9;
return x_6;
}
case 5:
{
lean_object* x_7; 
x_7 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__11;
return x_7;
}
case 6:
{
lean_object* x_8; 
x_8 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__2;
return x_8;
}
case 7:
{
lean_object* x_9; 
x_9 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__13;
return x_9;
}
case 8:
{
lean_object* x_10; 
x_10 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__15;
return x_10;
}
case 9:
{
lean_object* x_11; 
x_11 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__17;
return x_11;
}
case 10:
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_1);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; 
x_13 = lean_ctor_get(x_1, 1);
x_14 = lean_ctor_get(x_1, 0);
lean_dec(x_14);
x_15 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19;
x_16 = lean_array_to_list(x_13);
x_17 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17;
x_18 = l_Std_Format_joinSep___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_spec__0(x_16, x_17);
x_19 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__23;
x_20 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24;
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_18);
lean_ctor_set(x_1, 0, x_20);
x_21 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25;
x_22 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_22, 0, x_1);
lean_ctor_set(x_22, 1, x_21);
x_23 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_23, 0, x_19);
lean_ctor_set(x_23, 1, x_22);
x_24 = 0;
x_25 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_25, 0, x_23);
lean_ctor_set_uint8(x_25, sizeof(void*)*1, x_24);
x_26 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_26, 0, x_15);
lean_ctor_set(x_26, 1, x_25);
return x_26;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; 
x_27 = lean_ctor_get(x_1, 1);
lean_inc(x_27);
lean_dec(x_1);
x_28 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19;
x_29 = lean_array_to_list(x_27);
x_30 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17;
x_31 = l_Std_Format_joinSep___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_spec__0(x_29, x_30);
x_32 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__23;
x_33 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24;
x_34 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_34, 0, x_33);
lean_ctor_set(x_34, 1, x_31);
x_35 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25;
x_36 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_36, 0, x_34);
lean_ctor_set(x_36, 1, x_35);
x_37 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_37, 0, x_32);
lean_ctor_set(x_37, 1, x_36);
x_38 = 0;
x_39 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_39, 0, x_37);
lean_ctor_set_uint8(x_39, sizeof(void*)*1, x_38);
x_40 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_40, 0, x_28);
lean_ctor_set(x_40, 1, x_39);
return x_40;
}
}
case 11:
{
uint8_t x_41; 
x_41 = !lean_is_exclusive(x_1);
if (x_41 == 0)
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; 
x_42 = lean_ctor_get(x_1, 1);
x_43 = lean_ctor_get(x_1, 0);
lean_dec(x_43);
x_44 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__27;
x_45 = lean_array_to_list(x_42);
x_46 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17;
x_47 = l_Std_Format_joinSep___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_spec__0(x_45, x_46);
x_48 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__23;
x_49 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24;
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_47);
lean_ctor_set(x_1, 0, x_49);
x_50 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25;
x_51 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_51, 0, x_1);
lean_ctor_set(x_51, 1, x_50);
x_52 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_52, 0, x_48);
lean_ctor_set(x_52, 1, x_51);
x_53 = 0;
x_54 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_54, 0, x_52);
lean_ctor_set_uint8(x_54, sizeof(void*)*1, x_53);
x_55 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_55, 0, x_44);
lean_ctor_set(x_55, 1, x_54);
return x_55;
}
else
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69; 
x_56 = lean_ctor_get(x_1, 1);
lean_inc(x_56);
lean_dec(x_1);
x_57 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__27;
x_58 = lean_array_to_list(x_56);
x_59 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17;
x_60 = l_Std_Format_joinSep___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_spec__0(x_58, x_59);
x_61 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__23;
x_62 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24;
x_63 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_63, 0, x_62);
lean_ctor_set(x_63, 1, x_60);
x_64 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25;
x_65 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_65, 0, x_63);
lean_ctor_set(x_65, 1, x_64);
x_66 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_66, 0, x_61);
lean_ctor_set(x_66, 1, x_65);
x_67 = 0;
x_68 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_68, 0, x_66);
lean_ctor_set_uint8(x_68, sizeof(void*)*1, x_67);
x_69 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_69, 0, x_57);
lean_ctor_set(x_69, 1, x_68);
return x_69;
}
}
case 12:
{
lean_object* x_70; 
x_70 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__29;
return x_70;
}
default: 
{
lean_object* x_71; 
x_71 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__31;
return x_71;
}
}
}
}
LEAN_EXPORT lean_object* l_List_foldl___at___00Std_Format_joinSep___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
lean_dec(x_1);
return x_2;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_3, 1);
lean_inc(x_1);
lean_ctor_set_tag(x_3, 5);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 0, x_2);
x_7 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_5);
x_8 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_8, 0, x_3);
lean_ctor_set(x_8, 1, x_7);
x_2 = x_8;
x_3 = x_6;
goto _start;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_10 = lean_ctor_get(x_3, 0);
x_11 = lean_ctor_get(x_3, 1);
lean_inc(x_11);
lean_inc(x_10);
lean_dec(x_3);
lean_inc(x_1);
x_12 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_12, 0, x_2);
lean_ctor_set(x_12, 1, x_1);
x_13 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_10);
x_14 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
x_2 = x_14;
x_3 = x_11;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatIRType___private__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_instToFormatIRType___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_IR_instToFormatIRType___private__1), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_instToFormatIRType() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_IR_instToFormatIRType___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_instToStringIRType___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l_Lean_IR_instToStringExpr___lam__0___closed__0;
x_3 = lean_unsigned_to_nat(0u);
x_4 = l_Std_Format_pretty(x_1, x_2, x_3, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_IR_instToStringIRType() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_alloc_closure((void*)(l_Lean_IR_instToStringIRType___lam__0), 1, 0);
x_2 = l_Lean_IR_instToFormatIRType___closed__0;
x_3 = lean_alloc_closure((void*)(l_Function_comp), 6, 5);
lean_closure_set(x_3, 0, lean_box(0));
lean_closure_set(x_3, 1, lean_box(0));
lean_closure_set(x_3, 2, lean_box(0));
lean_closure_set(x_3, 3, x_1);
lean_closure_set(x_3, 4, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("(", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__0;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" : ", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__2;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(")", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("@& ", 3, 3);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam(lean_object* x_1) {
_start:
{
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*2);
x_4 = lean_ctor_get(x_1, 1);
lean_inc(x_4);
lean_dec_ref(x_1);
x_5 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__1;
x_6 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_7 = l_Nat_reprFast(x_2);
x_8 = lean_string_append(x_6, x_7);
lean_dec_ref(x_7);
x_9 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_9, 0, x_8);
x_10 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_10, 0, x_5);
lean_ctor_set(x_10, 1, x_9);
x_11 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3;
x_12 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_12, 0, x_10);
lean_ctor_set(x_12, 1, x_11);
if (x_3 == 0)
{
lean_object* x_21; 
x_21 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8;
x_13 = x_21;
goto block_20;
}
else
{
lean_object* x_22; 
x_22 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__6;
x_13 = x_22;
goto block_20;
}
block_20:
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_14 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_14, 0, x_13);
x_15 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_15, 0, x_12);
lean_ctor_set(x_15, 1, x_14);
x_16 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_4);
x_17 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_17, 0, x_15);
lean_ctor_set(x_17, 1, x_16);
x_18 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__5;
x_19 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_19, 0, x_17);
lean_ctor_set(x_19, 1, x_18);
return x_19;
}
}
}
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatParam___private__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_instToFormatParam___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_IR_instToFormatParam___private__1), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_instToFormatParam() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_IR_instToFormatParam___closed__0;
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatAlt___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" →", 4, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatAlt___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatAlt___closed__0;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatAlt___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("default →", 11, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatAlt___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatAlt___closed__2;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_formatAlt(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_3, 1);
x_7 = lean_ctor_get(x_5, 0);
lean_inc(x_7);
lean_dec_ref(x_5);
x_8 = 1;
x_9 = l_Lean_Name_toString(x_7, x_8);
x_10 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_10, 0, x_9);
x_11 = l_Lean_IR_formatAlt___closed__1;
lean_ctor_set_tag(x_3, 5);
lean_ctor_set(x_3, 1, x_11);
lean_ctor_set(x_3, 0, x_10);
x_12 = lean_nat_to_int(x_2);
x_13 = lean_box(1);
x_14 = lean_apply_1(x_1, x_6);
x_15 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_15, 0, x_13);
lean_ctor_set(x_15, 1, x_14);
x_16 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_16, 0, x_12);
lean_ctor_set(x_16, 1, x_15);
x_17 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_17, 0, x_3);
lean_ctor_set(x_17, 1, x_16);
return x_17;
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_18 = lean_ctor_get(x_3, 0);
x_19 = lean_ctor_get(x_3, 1);
lean_inc(x_19);
lean_inc(x_18);
lean_dec(x_3);
x_20 = lean_ctor_get(x_18, 0);
lean_inc(x_20);
lean_dec_ref(x_18);
x_21 = 1;
x_22 = l_Lean_Name_toString(x_20, x_21);
x_23 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_23, 0, x_22);
x_24 = l_Lean_IR_formatAlt___closed__1;
x_25 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_25, 0, x_23);
lean_ctor_set(x_25, 1, x_24);
x_26 = lean_nat_to_int(x_2);
x_27 = lean_box(1);
x_28 = lean_apply_1(x_1, x_19);
x_29 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_29, 0, x_27);
lean_ctor_set(x_29, 1, x_28);
x_30 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_30, 0, x_26);
lean_ctor_set(x_30, 1, x_29);
x_31 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_31, 0, x_25);
lean_ctor_set(x_31, 1, x_30);
return x_31;
}
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_32 = lean_ctor_get(x_3, 0);
lean_inc(x_32);
lean_dec_ref(x_3);
x_33 = l_Lean_IR_formatAlt___closed__3;
x_34 = lean_nat_to_int(x_2);
x_35 = lean_box(1);
x_36 = lean_apply_1(x_1, x_32);
x_37 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_37, 0, x_35);
lean_ctor_set(x_37, 1, x_36);
x_38 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_38, 0, x_34);
lean_ctor_set(x_38, 1, x_37);
x_39 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_39, 0, x_33);
lean_ctor_set(x_39, 1, x_38);
return x_39;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0_spec__0(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_eq(x_2, x_3);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; 
x_6 = lean_array_uget(x_1, x_2);
x_7 = l_Lean_IR_formatArray___redArg___lam__0___closed__1;
x_8 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_8, 0, x_4);
lean_ctor_set(x_8, 1, x_7);
x_9 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam(x_6);
x_10 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_10, 0, x_8);
lean_ctor_set(x_10, 1, x_9);
x_11 = 1;
x_12 = lean_usize_add(x_2, x_11);
x_2 = x_12;
x_4 = x_10;
goto _start;
}
else
{
return x_4;
}
}
}
LEAN_EXPORT lean_object* l_Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_2 = lean_box(0);
x_3 = lean_unsigned_to_nat(0u);
x_4 = lean_array_get_size(x_1);
x_5 = lean_nat_dec_lt(x_3, x_4);
if (x_5 == 0)
{
lean_dec(x_4);
return x_2;
}
else
{
uint8_t x_6; 
x_6 = lean_nat_dec_le(x_4, x_4);
if (x_6 == 0)
{
lean_dec(x_4);
return x_2;
}
else
{
size_t x_7; size_t x_8; lean_object* x_9; 
x_7 = 0;
x_8 = lean_usize_of_nat(x_4);
lean_dec(x_4);
x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0_spec__0(x_1, x_7, x_8, x_2);
return x_9;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_IR_formatParams(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_formatParams___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_IR_formatParams(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0_spec__0(x_1, x_5, x_6, x_4);
lean_dec_ref(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("let ", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__0;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" := ", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__2;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("block_", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" := ...", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__5;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("set ", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__7;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("] := ", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__9;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("setTag ", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__11;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("uset ", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__13;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("sset ", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__15;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("] : ", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__17;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__19() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("inc", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__19;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__0;
x_2 = lean_string_length(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__21;
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__24() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("dec", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__25() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__24;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__26() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("del ", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__27() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__26;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__28() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("case ", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__29() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__28;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__30() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" of ...", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__31() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__30;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__32() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ret ", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__33() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__32;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__34() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("jmp ", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__35() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__34;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__36() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("⊥", 3, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__37() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatFnBodyHead___closed__36;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_formatFnBodyHead(lean_object* x_1) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = lean_ctor_get(x_1, 1);
lean_inc(x_3);
x_4 = lean_ctor_get(x_1, 2);
lean_inc_ref(x_4);
lean_dec_ref(x_1);
x_5 = l_Lean_IR_formatFnBodyHead___closed__1;
x_6 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_7 = l_Nat_reprFast(x_2);
x_8 = lean_string_append(x_6, x_7);
lean_dec_ref(x_7);
x_9 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_9, 0, x_8);
x_10 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_10, 0, x_5);
lean_ctor_set(x_10, 1, x_9);
x_11 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3;
x_12 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_12, 0, x_10);
lean_ctor_set(x_12, 1, x_11);
x_13 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_3);
x_14 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
x_15 = l_Lean_IR_formatFnBodyHead___closed__3;
x_16 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_16, 0, x_14);
lean_ctor_set(x_16, 1, x_15);
x_17 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr(x_4);
x_18 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_18, 0, x_16);
lean_ctor_set(x_18, 1, x_17);
return x_18;
}
case 1:
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_19 = lean_ctor_get(x_1, 0);
lean_inc(x_19);
x_20 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_20);
lean_dec_ref(x_1);
x_21 = l_Lean_IR_formatFnBodyHead___closed__4;
x_22 = l_Nat_reprFast(x_19);
x_23 = lean_string_append(x_21, x_22);
lean_dec_ref(x_22);
x_24 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_24, 0, x_23);
x_25 = l_Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0(x_20);
lean_dec_ref(x_20);
x_26 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_26, 0, x_24);
lean_ctor_set(x_26, 1, x_25);
x_27 = l_Lean_IR_formatFnBodyHead___closed__6;
x_28 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_28, 0, x_26);
lean_ctor_set(x_28, 1, x_27);
return x_28;
}
case 2:
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 
x_29 = lean_ctor_get(x_1, 0);
lean_inc(x_29);
x_30 = lean_ctor_get(x_1, 1);
lean_inc(x_30);
x_31 = lean_ctor_get(x_1, 2);
lean_inc(x_31);
lean_dec_ref(x_1);
x_32 = l_Lean_IR_formatFnBodyHead___closed__8;
x_33 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_34 = l_Nat_reprFast(x_29);
x_35 = lean_string_append(x_33, x_34);
lean_dec_ref(x_34);
x_36 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_36, 0, x_35);
x_37 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_37, 0, x_32);
lean_ctor_set(x_37, 1, x_36);
x_38 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1;
x_39 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_39, 0, x_37);
lean_ctor_set(x_39, 1, x_38);
x_40 = l_Nat_reprFast(x_30);
x_41 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_41, 0, x_40);
x_42 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_42, 0, x_39);
lean_ctor_set(x_42, 1, x_41);
x_43 = l_Lean_IR_formatFnBodyHead___closed__10;
x_44 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_44, 0, x_42);
lean_ctor_set(x_44, 1, x_43);
x_45 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(x_31);
x_46 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_46, 0, x_44);
lean_ctor_set(x_46, 1, x_45);
return x_46;
}
case 3:
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; 
x_47 = lean_ctor_get(x_1, 0);
lean_inc(x_47);
x_48 = lean_ctor_get(x_1, 1);
lean_inc(x_48);
lean_dec_ref(x_1);
x_49 = l_Lean_IR_formatFnBodyHead___closed__12;
x_50 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_51 = l_Nat_reprFast(x_47);
x_52 = lean_string_append(x_50, x_51);
lean_dec_ref(x_51);
x_53 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_53, 0, x_52);
x_54 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_54, 0, x_49);
lean_ctor_set(x_54, 1, x_53);
x_55 = l_Lean_IR_formatFnBodyHead___closed__3;
x_56 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_56, 0, x_54);
lean_ctor_set(x_56, 1, x_55);
x_57 = l_Nat_reprFast(x_48);
x_58 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_58, 0, x_57);
x_59 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_59, 0, x_56);
lean_ctor_set(x_59, 1, x_58);
return x_59;
}
case 4:
{
lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; 
x_60 = lean_ctor_get(x_1, 0);
lean_inc(x_60);
x_61 = lean_ctor_get(x_1, 1);
lean_inc(x_61);
x_62 = lean_ctor_get(x_1, 2);
lean_inc(x_62);
lean_dec_ref(x_1);
x_63 = l_Lean_IR_formatFnBodyHead___closed__14;
x_64 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_65 = l_Nat_reprFast(x_60);
x_66 = lean_string_append(x_64, x_65);
lean_dec_ref(x_65);
x_67 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_67, 0, x_66);
x_68 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_68, 0, x_63);
lean_ctor_set(x_68, 1, x_67);
x_69 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1;
x_70 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_70, 0, x_68);
lean_ctor_set(x_70, 1, x_69);
x_71 = l_Nat_reprFast(x_61);
x_72 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_72, 0, x_71);
x_73 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_73, 0, x_70);
lean_ctor_set(x_73, 1, x_72);
x_74 = l_Lean_IR_formatFnBodyHead___closed__10;
x_75 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_75, 0, x_73);
lean_ctor_set(x_75, 1, x_74);
x_76 = l_Nat_reprFast(x_62);
x_77 = lean_string_append(x_64, x_76);
lean_dec_ref(x_76);
x_78 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_78, 0, x_77);
x_79 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_79, 0, x_75);
lean_ctor_set(x_79, 1, x_78);
return x_79;
}
case 5:
{
lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; 
x_80 = lean_ctor_get(x_1, 0);
lean_inc(x_80);
x_81 = lean_ctor_get(x_1, 1);
lean_inc(x_81);
x_82 = lean_ctor_get(x_1, 2);
lean_inc(x_82);
x_83 = lean_ctor_get(x_1, 3);
lean_inc(x_83);
x_84 = lean_ctor_get(x_1, 4);
lean_inc(x_84);
lean_dec_ref(x_1);
x_85 = l_Lean_IR_formatFnBodyHead___closed__16;
x_86 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_87 = l_Nat_reprFast(x_80);
x_88 = lean_string_append(x_86, x_87);
lean_dec_ref(x_87);
x_89 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_89, 0, x_88);
x_90 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_90, 0, x_85);
lean_ctor_set(x_90, 1, x_89);
x_91 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1;
x_92 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_92, 0, x_90);
lean_ctor_set(x_92, 1, x_91);
x_93 = l_Nat_reprFast(x_81);
x_94 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_94, 0, x_93);
x_95 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_95, 0, x_92);
lean_ctor_set(x_95, 1, x_94);
x_96 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17;
x_97 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_97, 0, x_95);
lean_ctor_set(x_97, 1, x_96);
x_98 = l_Nat_reprFast(x_82);
x_99 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_99, 0, x_98);
x_100 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_100, 0, x_97);
lean_ctor_set(x_100, 1, x_99);
x_101 = l_Lean_IR_formatFnBodyHead___closed__18;
x_102 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_102, 0, x_100);
lean_ctor_set(x_102, 1, x_101);
x_103 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_84);
x_104 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_104, 0, x_102);
lean_ctor_set(x_104, 1, x_103);
x_105 = l_Lean_IR_formatFnBodyHead___closed__3;
x_106 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_106, 0, x_104);
lean_ctor_set(x_106, 1, x_105);
x_107 = l_Nat_reprFast(x_83);
x_108 = lean_string_append(x_86, x_107);
lean_dec_ref(x_107);
x_109 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_109, 0, x_108);
x_110 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_110, 0, x_106);
lean_ctor_set(x_110, 1, x_109);
return x_110;
}
case 6:
{
lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_124; uint8_t x_125; 
x_111 = lean_ctor_get(x_1, 0);
lean_inc(x_111);
x_112 = lean_ctor_get(x_1, 1);
lean_inc(x_112);
lean_dec_ref(x_1);
x_113 = l_Lean_IR_formatFnBodyHead___closed__20;
x_124 = lean_unsigned_to_nat(1u);
x_125 = lean_nat_dec_eq(x_112, x_124);
if (x_125 == 0)
{
lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; lean_object* x_135; 
x_126 = l_Nat_reprFast(x_112);
x_127 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_127, 0, x_126);
x_128 = l_Lean_IR_formatFnBodyHead___closed__22;
x_129 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1;
x_130 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_130, 0, x_129);
lean_ctor_set(x_130, 1, x_127);
x_131 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3;
x_132 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_132, 0, x_130);
lean_ctor_set(x_132, 1, x_131);
x_133 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_133, 0, x_128);
lean_ctor_set(x_133, 1, x_132);
x_134 = 0;
x_135 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_135, 0, x_133);
lean_ctor_set_uint8(x_135, sizeof(void*)*1, x_134);
x_114 = x_135;
goto block_123;
}
else
{
lean_object* x_136; 
lean_dec(x_112);
x_136 = l_Lean_IR_formatFnBodyHead___closed__23;
x_114 = x_136;
goto block_123;
}
block_123:
{
lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; 
x_115 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_115, 0, x_113);
lean_ctor_set(x_115, 1, x_114);
x_116 = l_Lean_IR_formatArray___redArg___lam__0___closed__1;
x_117 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_117, 0, x_115);
lean_ctor_set(x_117, 1, x_116);
x_118 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_119 = l_Nat_reprFast(x_111);
x_120 = lean_string_append(x_118, x_119);
lean_dec_ref(x_119);
x_121 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_121, 0, x_120);
x_122 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_122, 0, x_117);
lean_ctor_set(x_122, 1, x_121);
return x_122;
}
}
case 7:
{
lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_150; uint8_t x_151; 
x_137 = lean_ctor_get(x_1, 0);
lean_inc(x_137);
x_138 = lean_ctor_get(x_1, 1);
lean_inc(x_138);
lean_dec_ref(x_1);
x_139 = l_Lean_IR_formatFnBodyHead___closed__25;
x_150 = lean_unsigned_to_nat(1u);
x_151 = lean_nat_dec_eq(x_138, x_150);
if (x_151 == 0)
{
lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_object* x_161; 
x_152 = l_Nat_reprFast(x_138);
x_153 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_153, 0, x_152);
x_154 = l_Lean_IR_formatFnBodyHead___closed__22;
x_155 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1;
x_156 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_156, 0, x_155);
lean_ctor_set(x_156, 1, x_153);
x_157 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3;
x_158 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_158, 0, x_156);
lean_ctor_set(x_158, 1, x_157);
x_159 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_159, 0, x_154);
lean_ctor_set(x_159, 1, x_158);
x_160 = 0;
x_161 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_161, 0, x_159);
lean_ctor_set_uint8(x_161, sizeof(void*)*1, x_160);
x_140 = x_161;
goto block_149;
}
else
{
lean_object* x_162; 
lean_dec(x_138);
x_162 = l_Lean_IR_formatFnBodyHead___closed__23;
x_140 = x_162;
goto block_149;
}
block_149:
{
lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; 
x_141 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_141, 0, x_139);
lean_ctor_set(x_141, 1, x_140);
x_142 = l_Lean_IR_formatArray___redArg___lam__0___closed__1;
x_143 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_143, 0, x_141);
lean_ctor_set(x_143, 1, x_142);
x_144 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_145 = l_Nat_reprFast(x_137);
x_146 = lean_string_append(x_144, x_145);
lean_dec_ref(x_145);
x_147 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_147, 0, x_146);
x_148 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_148, 0, x_143);
lean_ctor_set(x_148, 1, x_147);
return x_148;
}
}
case 8:
{
uint8_t x_163; 
x_163 = !lean_is_exclusive(x_1);
if (x_163 == 0)
{
lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; 
x_164 = lean_ctor_get(x_1, 0);
x_165 = lean_ctor_get(x_1, 1);
lean_dec(x_165);
x_166 = l_Lean_IR_formatFnBodyHead___closed__27;
x_167 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_168 = l_Nat_reprFast(x_164);
x_169 = lean_string_append(x_167, x_168);
lean_dec_ref(x_168);
x_170 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_170, 0, x_169);
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_170);
lean_ctor_set(x_1, 0, x_166);
return x_1;
}
else
{
lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; 
x_171 = lean_ctor_get(x_1, 0);
lean_inc(x_171);
lean_dec(x_1);
x_172 = l_Lean_IR_formatFnBodyHead___closed__27;
x_173 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_174 = l_Nat_reprFast(x_171);
x_175 = lean_string_append(x_173, x_174);
lean_dec_ref(x_174);
x_176 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_176, 0, x_175);
x_177 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_177, 0, x_172);
lean_ctor_set(x_177, 1, x_176);
return x_177;
}
}
case 9:
{
lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; 
x_178 = lean_ctor_get(x_1, 1);
lean_inc(x_178);
lean_dec_ref(x_1);
x_179 = l_Lean_IR_formatFnBodyHead___closed__29;
x_180 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_181 = l_Nat_reprFast(x_178);
x_182 = lean_string_append(x_180, x_181);
lean_dec_ref(x_181);
x_183 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_183, 0, x_182);
x_184 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_184, 0, x_179);
lean_ctor_set(x_184, 1, x_183);
x_185 = l_Lean_IR_formatFnBodyHead___closed__31;
x_186 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_186, 0, x_184);
lean_ctor_set(x_186, 1, x_185);
return x_186;
}
case 10:
{
lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; 
x_187 = lean_ctor_get(x_1, 0);
lean_inc(x_187);
lean_dec_ref(x_1);
x_188 = l_Lean_IR_formatFnBodyHead___closed__33;
x_189 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(x_187);
x_190 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_190, 0, x_188);
lean_ctor_set(x_190, 1, x_189);
return x_190;
}
case 11:
{
uint8_t x_191; 
x_191 = !lean_is_exclusive(x_1);
if (x_191 == 0)
{
lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; 
x_192 = lean_ctor_get(x_1, 0);
x_193 = lean_ctor_get(x_1, 1);
x_194 = l_Lean_IR_formatFnBodyHead___closed__35;
x_195 = l_Lean_IR_formatFnBodyHead___closed__4;
x_196 = l_Nat_reprFast(x_192);
x_197 = lean_string_append(x_195, x_196);
lean_dec_ref(x_196);
x_198 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_198, 0, x_197);
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_198);
lean_ctor_set(x_1, 0, x_194);
x_199 = l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(x_193);
lean_dec_ref(x_193);
x_200 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_200, 0, x_1);
lean_ctor_set(x_200, 1, x_199);
return x_200;
}
else
{
lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; 
x_201 = lean_ctor_get(x_1, 0);
x_202 = lean_ctor_get(x_1, 1);
lean_inc(x_202);
lean_inc(x_201);
lean_dec(x_1);
x_203 = l_Lean_IR_formatFnBodyHead___closed__35;
x_204 = l_Lean_IR_formatFnBodyHead___closed__4;
x_205 = l_Nat_reprFast(x_201);
x_206 = lean_string_append(x_204, x_205);
lean_dec_ref(x_205);
x_207 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_207, 0, x_206);
x_208 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_208, 0, x_203);
lean_ctor_set(x_208, 1, x_207);
x_209 = l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(x_202);
lean_dec_ref(x_202);
x_210 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_210, 0, x_208);
lean_ctor_set(x_210, 1, x_209);
return x_210;
}
}
default: 
{
lean_object* x_211; 
x_211 = l_Lean_IR_formatFnBodyHead___closed__37;
return x_211;
}
}
}
}
LEAN_EXPORT lean_object* lean_ir_format_fn_body_head(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_IR_formatFnBodyHead(x_1);
x_3 = l_Lean_IR_instToStringExpr___lam__0___closed__0;
x_4 = lean_unsigned_to_nat(0u);
x_5 = l_Std_Format_pretty(x_2, x_3, x_4, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(";", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__0;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" :=", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__2;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" of", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__4;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(lean_object* x_1, lean_object* x_2) {
_start:
{
switch (lean_obj_tag(x_2)) {
case 0:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
x_4 = lean_ctor_get(x_2, 1);
lean_inc(x_4);
x_5 = lean_ctor_get(x_2, 2);
lean_inc_ref(x_5);
x_6 = lean_ctor_get(x_2, 3);
lean_inc(x_6);
lean_dec_ref(x_2);
x_7 = l_Lean_IR_formatFnBodyHead___closed__1;
x_8 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_9 = l_Nat_reprFast(x_3);
x_10 = lean_string_append(x_8, x_9);
lean_dec_ref(x_9);
x_11 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_12, 0, x_7);
lean_ctor_set(x_12, 1, x_11);
x_13 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3;
x_14 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
x_15 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_4);
x_16 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_16, 0, x_14);
lean_ctor_set(x_16, 1, x_15);
x_17 = l_Lean_IR_formatFnBodyHead___closed__3;
x_18 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_18, 0, x_16);
lean_ctor_set(x_18, 1, x_17);
x_19 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr(x_5);
x_20 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_20, 0, x_18);
lean_ctor_set(x_20, 1, x_19);
x_21 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__1;
x_22 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_22, 0, x_20);
lean_ctor_set(x_22, 1, x_21);
x_23 = lean_box(1);
x_24 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_24, 0, x_22);
lean_ctor_set(x_24, 1, x_23);
x_25 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(x_1, x_6);
x_26 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_26, 0, x_24);
lean_ctor_set(x_26, 1, x_25);
return x_26;
}
case 1:
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_27 = lean_ctor_get(x_2, 0);
lean_inc(x_27);
x_28 = lean_ctor_get(x_2, 1);
lean_inc_ref(x_28);
x_29 = lean_ctor_get(x_2, 2);
lean_inc(x_29);
x_30 = lean_ctor_get(x_2, 3);
lean_inc(x_30);
lean_dec_ref(x_2);
x_31 = l_Lean_IR_formatFnBodyHead___closed__4;
x_32 = l_Nat_reprFast(x_27);
x_33 = lean_string_append(x_31, x_32);
lean_dec_ref(x_32);
x_34 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_34, 0, x_33);
x_35 = l_Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0(x_28);
lean_dec_ref(x_28);
x_36 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_36, 0, x_34);
lean_ctor_set(x_36, 1, x_35);
x_37 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__3;
x_38 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_38, 0, x_36);
lean_ctor_set(x_38, 1, x_37);
lean_inc(x_1);
x_39 = lean_nat_to_int(x_1);
x_40 = lean_box(1);
lean_inc(x_1);
x_41 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(x_1, x_29);
x_42 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_42, 0, x_40);
lean_ctor_set(x_42, 1, x_41);
x_43 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_43, 0, x_39);
lean_ctor_set(x_43, 1, x_42);
x_44 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_44, 0, x_38);
lean_ctor_set(x_44, 1, x_43);
x_45 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__1;
x_46 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_46, 0, x_44);
lean_ctor_set(x_46, 1, x_45);
x_47 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_47, 0, x_46);
lean_ctor_set(x_47, 1, x_40);
x_48 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(x_1, x_30);
x_49 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_49, 0, x_47);
lean_ctor_set(x_49, 1, x_48);
return x_49;
}
case 2:
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; 
x_50 = lean_ctor_get(x_2, 0);
lean_inc(x_50);
x_51 = lean_ctor_get(x_2, 1);
lean_inc(x_51);
x_52 = lean_ctor_get(x_2, 2);
lean_inc(x_52);
x_53 = lean_ctor_get(x_2, 3);
lean_inc(x_53);
lean_dec_ref(x_2);
x_54 = l_Lean_IR_formatFnBodyHead___closed__8;
x_55 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_56 = l_Nat_reprFast(x_50);
x_57 = lean_string_append(x_55, x_56);
lean_dec_ref(x_56);
x_58 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_58, 0, x_57);
x_59 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_59, 0, x_54);
lean_ctor_set(x_59, 1, x_58);
x_60 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1;
x_61 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_61, 0, x_59);
lean_ctor_set(x_61, 1, x_60);
x_62 = l_Nat_reprFast(x_51);
x_63 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_63, 0, x_62);
x_64 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_64, 0, x_61);
lean_ctor_set(x_64, 1, x_63);
x_65 = l_Lean_IR_formatFnBodyHead___closed__10;
x_66 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_66, 0, x_64);
lean_ctor_set(x_66, 1, x_65);
x_67 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(x_52);
x_68 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_68, 0, x_66);
lean_ctor_set(x_68, 1, x_67);
x_69 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__1;
x_70 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_70, 0, x_68);
lean_ctor_set(x_70, 1, x_69);
x_71 = lean_box(1);
x_72 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_72, 0, x_70);
lean_ctor_set(x_72, 1, x_71);
x_73 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(x_1, x_53);
x_74 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_74, 0, x_72);
lean_ctor_set(x_74, 1, x_73);
return x_74;
}
case 3:
{
lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; 
x_75 = lean_ctor_get(x_2, 0);
lean_inc(x_75);
x_76 = lean_ctor_get(x_2, 1);
lean_inc(x_76);
x_77 = lean_ctor_get(x_2, 2);
lean_inc(x_77);
lean_dec_ref(x_2);
x_78 = l_Lean_IR_formatFnBodyHead___closed__12;
x_79 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_80 = l_Nat_reprFast(x_75);
x_81 = lean_string_append(x_79, x_80);
lean_dec_ref(x_80);
x_82 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_82, 0, x_81);
x_83 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_83, 0, x_78);
lean_ctor_set(x_83, 1, x_82);
x_84 = l_Lean_IR_formatFnBodyHead___closed__3;
x_85 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_85, 0, x_83);
lean_ctor_set(x_85, 1, x_84);
x_86 = l_Nat_reprFast(x_76);
x_87 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_87, 0, x_86);
x_88 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_88, 0, x_85);
lean_ctor_set(x_88, 1, x_87);
x_89 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__1;
x_90 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_90, 0, x_88);
lean_ctor_set(x_90, 1, x_89);
x_91 = lean_box(1);
x_92 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_92, 0, x_90);
lean_ctor_set(x_92, 1, x_91);
x_93 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(x_1, x_77);
x_94 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_94, 0, x_92);
lean_ctor_set(x_94, 1, x_93);
return x_94;
}
case 4:
{
lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; 
x_95 = lean_ctor_get(x_2, 0);
lean_inc(x_95);
x_96 = lean_ctor_get(x_2, 1);
lean_inc(x_96);
x_97 = lean_ctor_get(x_2, 2);
lean_inc(x_97);
x_98 = lean_ctor_get(x_2, 3);
lean_inc(x_98);
lean_dec_ref(x_2);
x_99 = l_Lean_IR_formatFnBodyHead___closed__14;
x_100 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_101 = l_Nat_reprFast(x_95);
x_102 = lean_string_append(x_100, x_101);
lean_dec_ref(x_101);
x_103 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_103, 0, x_102);
x_104 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_104, 0, x_99);
lean_ctor_set(x_104, 1, x_103);
x_105 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1;
x_106 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_106, 0, x_104);
lean_ctor_set(x_106, 1, x_105);
x_107 = l_Nat_reprFast(x_96);
x_108 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_108, 0, x_107);
x_109 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_109, 0, x_106);
lean_ctor_set(x_109, 1, x_108);
x_110 = l_Lean_IR_formatFnBodyHead___closed__10;
x_111 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_111, 0, x_109);
lean_ctor_set(x_111, 1, x_110);
x_112 = l_Nat_reprFast(x_97);
x_113 = lean_string_append(x_100, x_112);
lean_dec_ref(x_112);
x_114 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_114, 0, x_113);
x_115 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_115, 0, x_111);
lean_ctor_set(x_115, 1, x_114);
x_116 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__1;
x_117 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_117, 0, x_115);
lean_ctor_set(x_117, 1, x_116);
x_118 = lean_box(1);
x_119 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_119, 0, x_117);
lean_ctor_set(x_119, 1, x_118);
x_120 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(x_1, x_98);
x_121 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_121, 0, x_119);
lean_ctor_set(x_121, 1, x_120);
return x_121;
}
case 5:
{
lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; 
x_122 = lean_ctor_get(x_2, 0);
lean_inc(x_122);
x_123 = lean_ctor_get(x_2, 1);
lean_inc(x_123);
x_124 = lean_ctor_get(x_2, 2);
lean_inc(x_124);
x_125 = lean_ctor_get(x_2, 3);
lean_inc(x_125);
x_126 = lean_ctor_get(x_2, 4);
lean_inc(x_126);
x_127 = lean_ctor_get(x_2, 5);
lean_inc(x_127);
lean_dec_ref(x_2);
x_128 = l_Lean_IR_formatFnBodyHead___closed__16;
x_129 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_130 = l_Nat_reprFast(x_122);
x_131 = lean_string_append(x_129, x_130);
lean_dec_ref(x_130);
x_132 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_132, 0, x_131);
x_133 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_133, 0, x_128);
lean_ctor_set(x_133, 1, x_132);
x_134 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1;
x_135 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_135, 0, x_133);
lean_ctor_set(x_135, 1, x_134);
x_136 = l_Nat_reprFast(x_123);
x_137 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_137, 0, x_136);
x_138 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_138, 0, x_135);
lean_ctor_set(x_138, 1, x_137);
x_139 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17;
x_140 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_140, 0, x_138);
lean_ctor_set(x_140, 1, x_139);
x_141 = l_Nat_reprFast(x_124);
x_142 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_142, 0, x_141);
x_143 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_143, 0, x_140);
lean_ctor_set(x_143, 1, x_142);
x_144 = l_Lean_IR_formatFnBodyHead___closed__18;
x_145 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_145, 0, x_143);
lean_ctor_set(x_145, 1, x_144);
x_146 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_126);
x_147 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_147, 0, x_145);
lean_ctor_set(x_147, 1, x_146);
x_148 = l_Lean_IR_formatFnBodyHead___closed__3;
x_149 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_149, 0, x_147);
lean_ctor_set(x_149, 1, x_148);
x_150 = l_Nat_reprFast(x_125);
x_151 = lean_string_append(x_129, x_150);
lean_dec_ref(x_150);
x_152 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_152, 0, x_151);
x_153 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_153, 0, x_149);
lean_ctor_set(x_153, 1, x_152);
x_154 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__1;
x_155 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_155, 0, x_153);
lean_ctor_set(x_155, 1, x_154);
x_156 = lean_box(1);
x_157 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_157, 0, x_155);
lean_ctor_set(x_157, 1, x_156);
x_158 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(x_1, x_127);
x_159 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_159, 0, x_157);
lean_ctor_set(x_159, 1, x_158);
return x_159;
}
case 6:
{
lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_180; uint8_t x_181; 
x_160 = lean_ctor_get(x_2, 0);
lean_inc(x_160);
x_161 = lean_ctor_get(x_2, 1);
lean_inc(x_161);
x_162 = lean_ctor_get(x_2, 2);
lean_inc(x_162);
lean_dec_ref(x_2);
x_163 = l_Lean_IR_formatFnBodyHead___closed__20;
x_180 = lean_unsigned_to_nat(1u);
x_181 = lean_nat_dec_eq(x_161, x_180);
if (x_181 == 0)
{
lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; lean_object* x_191; 
x_182 = l_Nat_reprFast(x_161);
x_183 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_183, 0, x_182);
x_184 = l_Lean_IR_formatFnBodyHead___closed__22;
x_185 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1;
x_186 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_186, 0, x_185);
lean_ctor_set(x_186, 1, x_183);
x_187 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3;
x_188 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_188, 0, x_186);
lean_ctor_set(x_188, 1, x_187);
x_189 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_189, 0, x_184);
lean_ctor_set(x_189, 1, x_188);
x_190 = 0;
x_191 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_191, 0, x_189);
lean_ctor_set_uint8(x_191, sizeof(void*)*1, x_190);
x_164 = x_191;
goto block_179;
}
else
{
lean_object* x_192; 
lean_dec(x_161);
x_192 = l_Lean_IR_formatFnBodyHead___closed__23;
x_164 = x_192;
goto block_179;
}
block_179:
{
lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; 
x_165 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_165, 0, x_163);
lean_ctor_set(x_165, 1, x_164);
x_166 = l_Lean_IR_formatArray___redArg___lam__0___closed__1;
x_167 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_167, 0, x_165);
lean_ctor_set(x_167, 1, x_166);
x_168 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_169 = l_Nat_reprFast(x_160);
x_170 = lean_string_append(x_168, x_169);
lean_dec_ref(x_169);
x_171 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_171, 0, x_170);
x_172 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_172, 0, x_167);
lean_ctor_set(x_172, 1, x_171);
x_173 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__1;
x_174 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_174, 0, x_172);
lean_ctor_set(x_174, 1, x_173);
x_175 = lean_box(1);
x_176 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_176, 0, x_174);
lean_ctor_set(x_176, 1, x_175);
x_177 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(x_1, x_162);
x_178 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_178, 0, x_176);
lean_ctor_set(x_178, 1, x_177);
return x_178;
}
}
case 7:
{
lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_213; uint8_t x_214; 
x_193 = lean_ctor_get(x_2, 0);
lean_inc(x_193);
x_194 = lean_ctor_get(x_2, 1);
lean_inc(x_194);
x_195 = lean_ctor_get(x_2, 2);
lean_inc(x_195);
lean_dec_ref(x_2);
x_196 = l_Lean_IR_formatFnBodyHead___closed__25;
x_213 = lean_unsigned_to_nat(1u);
x_214 = lean_nat_dec_eq(x_194, x_213);
if (x_214 == 0)
{
lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; lean_object* x_224; 
x_215 = l_Nat_reprFast(x_194);
x_216 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_216, 0, x_215);
x_217 = l_Lean_IR_formatFnBodyHead___closed__22;
x_218 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1;
x_219 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_219, 0, x_218);
lean_ctor_set(x_219, 1, x_216);
x_220 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3;
x_221 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_221, 0, x_219);
lean_ctor_set(x_221, 1, x_220);
x_222 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_222, 0, x_217);
lean_ctor_set(x_222, 1, x_221);
x_223 = 0;
x_224 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_224, 0, x_222);
lean_ctor_set_uint8(x_224, sizeof(void*)*1, x_223);
x_197 = x_224;
goto block_212;
}
else
{
lean_object* x_225; 
lean_dec(x_194);
x_225 = l_Lean_IR_formatFnBodyHead___closed__23;
x_197 = x_225;
goto block_212;
}
block_212:
{
lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; 
x_198 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_198, 0, x_196);
lean_ctor_set(x_198, 1, x_197);
x_199 = l_Lean_IR_formatArray___redArg___lam__0___closed__1;
x_200 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_200, 0, x_198);
lean_ctor_set(x_200, 1, x_199);
x_201 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_202 = l_Nat_reprFast(x_193);
x_203 = lean_string_append(x_201, x_202);
lean_dec_ref(x_202);
x_204 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_204, 0, x_203);
x_205 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_205, 0, x_200);
lean_ctor_set(x_205, 1, x_204);
x_206 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__1;
x_207 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_207, 0, x_205);
lean_ctor_set(x_207, 1, x_206);
x_208 = lean_box(1);
x_209 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_209, 0, x_207);
lean_ctor_set(x_209, 1, x_208);
x_210 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(x_1, x_195);
x_211 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_211, 0, x_209);
lean_ctor_set(x_211, 1, x_210);
return x_211;
}
}
case 8:
{
uint8_t x_226; 
x_226 = !lean_is_exclusive(x_2);
if (x_226 == 0)
{
lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; 
x_227 = lean_ctor_get(x_2, 0);
x_228 = lean_ctor_get(x_2, 1);
x_229 = l_Lean_IR_formatFnBodyHead___closed__27;
x_230 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_231 = l_Nat_reprFast(x_227);
x_232 = lean_string_append(x_230, x_231);
lean_dec_ref(x_231);
x_233 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_233, 0, x_232);
lean_ctor_set_tag(x_2, 5);
lean_ctor_set(x_2, 1, x_233);
lean_ctor_set(x_2, 0, x_229);
x_234 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__1;
x_235 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_235, 0, x_2);
lean_ctor_set(x_235, 1, x_234);
x_236 = lean_box(1);
x_237 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_237, 0, x_235);
lean_ctor_set(x_237, 1, x_236);
x_238 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(x_1, x_228);
x_239 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_239, 0, x_237);
lean_ctor_set(x_239, 1, x_238);
return x_239;
}
else
{
lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; 
x_240 = lean_ctor_get(x_2, 0);
x_241 = lean_ctor_get(x_2, 1);
lean_inc(x_241);
lean_inc(x_240);
lean_dec(x_2);
x_242 = l_Lean_IR_formatFnBodyHead___closed__27;
x_243 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_244 = l_Nat_reprFast(x_240);
x_245 = lean_string_append(x_243, x_244);
lean_dec_ref(x_244);
x_246 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_246, 0, x_245);
x_247 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_247, 0, x_242);
lean_ctor_set(x_247, 1, x_246);
x_248 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__1;
x_249 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_249, 0, x_247);
lean_ctor_set(x_249, 1, x_248);
x_250 = lean_box(1);
x_251 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_251, 0, x_249);
lean_ctor_set(x_251, 1, x_250);
x_252 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(x_1, x_241);
x_253 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_253, 0, x_251);
lean_ctor_set(x_253, 1, x_252);
return x_253;
}
}
case 9:
{
lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; uint8_t x_272; 
x_254 = lean_ctor_get(x_2, 1);
lean_inc(x_254);
x_255 = lean_ctor_get(x_2, 2);
lean_inc(x_255);
x_256 = lean_ctor_get(x_2, 3);
lean_inc_ref(x_256);
lean_dec_ref(x_2);
x_257 = l_Lean_IR_formatFnBodyHead___closed__29;
x_258 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0;
x_259 = l_Nat_reprFast(x_254);
x_260 = lean_string_append(x_258, x_259);
lean_dec_ref(x_259);
x_261 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_261, 0, x_260);
x_262 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_262, 0, x_257);
lean_ctor_set(x_262, 1, x_261);
x_263 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3;
x_264 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_264, 0, x_262);
lean_ctor_set(x_264, 1, x_263);
x_265 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_255);
x_266 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_266, 0, x_264);
lean_ctor_set(x_266, 1, x_265);
x_267 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__5;
x_268 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_268, 0, x_266);
lean_ctor_set(x_268, 1, x_267);
x_269 = lean_box(0);
x_270 = lean_unsigned_to_nat(0u);
x_271 = lean_array_get_size(x_256);
x_272 = lean_nat_dec_lt(x_270, x_271);
if (x_272 == 0)
{
lean_object* x_273; 
lean_dec(x_271);
lean_dec_ref(x_256);
lean_dec(x_1);
x_273 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_273, 0, x_268);
lean_ctor_set(x_273, 1, x_269);
return x_273;
}
else
{
uint8_t x_274; 
x_274 = lean_nat_dec_le(x_271, x_271);
if (x_274 == 0)
{
lean_object* x_275; 
lean_dec(x_271);
lean_dec_ref(x_256);
lean_dec(x_1);
x_275 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_275, 0, x_268);
lean_ctor_set(x_275, 1, x_269);
return x_275;
}
else
{
size_t x_276; size_t x_277; lean_object* x_278; lean_object* x_279; 
x_276 = 0;
x_277 = lean_usize_of_nat(x_271);
lean_dec(x_271);
x_278 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop_spec__0(x_1, x_256, x_276, x_277, x_269);
lean_dec_ref(x_256);
x_279 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_279, 0, x_268);
lean_ctor_set(x_279, 1, x_278);
return x_279;
}
}
}
case 10:
{
lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 
lean_dec(x_1);
x_280 = lean_ctor_get(x_2, 0);
lean_inc(x_280);
lean_dec_ref(x_2);
x_281 = l_Lean_IR_formatFnBodyHead___closed__33;
x_282 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(x_280);
x_283 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_283, 0, x_281);
lean_ctor_set(x_283, 1, x_282);
return x_283;
}
case 11:
{
uint8_t x_284; 
lean_dec(x_1);
x_284 = !lean_is_exclusive(x_2);
if (x_284 == 0)
{
lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; 
x_285 = lean_ctor_get(x_2, 0);
x_286 = lean_ctor_get(x_2, 1);
x_287 = l_Lean_IR_formatFnBodyHead___closed__35;
x_288 = l_Lean_IR_formatFnBodyHead___closed__4;
x_289 = l_Nat_reprFast(x_285);
x_290 = lean_string_append(x_288, x_289);
lean_dec_ref(x_289);
x_291 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_291, 0, x_290);
lean_ctor_set_tag(x_2, 5);
lean_ctor_set(x_2, 1, x_291);
lean_ctor_set(x_2, 0, x_287);
x_292 = l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(x_286);
lean_dec_ref(x_286);
x_293 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_293, 0, x_2);
lean_ctor_set(x_293, 1, x_292);
return x_293;
}
else
{
lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; 
x_294 = lean_ctor_get(x_2, 0);
x_295 = lean_ctor_get(x_2, 1);
lean_inc(x_295);
lean_inc(x_294);
lean_dec(x_2);
x_296 = l_Lean_IR_formatFnBodyHead___closed__35;
x_297 = l_Lean_IR_formatFnBodyHead___closed__4;
x_298 = l_Nat_reprFast(x_294);
x_299 = lean_string_append(x_297, x_298);
lean_dec_ref(x_298);
x_300 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_300, 0, x_299);
x_301 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_301, 0, x_296);
lean_ctor_set(x_301, 1, x_300);
x_302 = l_Lean_IR_formatArray___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_spec__0(x_295);
lean_dec_ref(x_295);
x_303 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_303, 0, x_301);
lean_ctor_set(x_303, 1, x_302);
return x_303;
}
}
default: 
{
lean_object* x_304; 
lean_dec(x_1);
x_304 = l_Lean_IR_formatFnBodyHead___closed__37;
return x_304;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = lean_usize_dec_eq(x_3, x_4);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; 
x_7 = lean_array_uget(x_2, x_3);
x_8 = lean_box(1);
x_9 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_9, 0, x_5);
lean_ctor_set(x_9, 1, x_8);
lean_inc(x_1);
x_10 = lean_alloc_closure((void*)(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop), 2, 1);
lean_closure_set(x_10, 0, x_1);
lean_inc(x_1);
x_11 = l_Lean_IR_formatAlt(x_10, x_1, x_7);
x_12 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_12, 0, x_9);
lean_ctor_set(x_12, 1, x_11);
x_13 = 1;
x_14 = lean_usize_add(x_3, x_13);
x_3 = x_14;
x_5 = x_12;
goto _start;
}
else
{
lean_dec(x_1);
return x_5;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop_spec__0(x_1, x_2, x_6, x_7, x_5);
lean_dec_ref(x_2);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_formatFnBody(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatFnBody___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = lean_unsigned_to_nat(2u);
x_3 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_IR_instToFormatFnBody() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_IR_instToFormatFnBody___lam__0), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_instToStringFnBody___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_2 = lean_unsigned_to_nat(2u);
x_3 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(x_2, x_1);
x_4 = l_Lean_IR_instToStringExpr___lam__0___closed__0;
x_5 = lean_unsigned_to_nat(0u);
x_6 = l_Std_Format_pretty(x_3, x_4, x_5, x_5);
return x_6;
}
}
static lean_object* _init_l_Lean_IR_instToStringFnBody() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_IR_instToStringFnBody___lam__0), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatDecl___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("def ", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatDecl___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatDecl___closed__0;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_IR_formatDecl___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("extern ", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatDecl___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_IR_formatDecl___closed__2;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_formatDecl(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_3 = lean_ctor_get(x_1, 0);
lean_inc(x_3);
x_4 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_4);
x_5 = lean_ctor_get(x_1, 2);
lean_inc(x_5);
x_6 = lean_ctor_get(x_1, 3);
lean_inc(x_6);
lean_dec_ref(x_1);
x_7 = l_Lean_IR_formatDecl___closed__1;
x_8 = 1;
x_9 = l_Lean_Name_toString(x_3, x_8);
x_10 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_10, 0, x_9);
x_11 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_11, 0, x_7);
lean_ctor_set(x_11, 1, x_10);
x_12 = l_Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0(x_4);
lean_dec_ref(x_4);
x_13 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_13, 0, x_11);
lean_ctor_set(x_13, 1, x_12);
x_14 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3;
x_15 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_15, 0, x_13);
lean_ctor_set(x_15, 1, x_14);
x_16 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_5);
x_17 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_17, 0, x_15);
lean_ctor_set(x_17, 1, x_16);
x_18 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__3;
x_19 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_19, 0, x_17);
lean_ctor_set(x_19, 1, x_18);
lean_inc(x_2);
x_20 = lean_nat_to_int(x_2);
x_21 = lean_box(1);
x_22 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop(x_2, x_6);
x_23 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_23, 0, x_21);
lean_ctor_set(x_23, 1, x_22);
x_24 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_24, 0, x_20);
lean_ctor_set(x_24, 1, x_23);
x_25 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_25, 0, x_19);
lean_ctor_set(x_25, 1, x_24);
return x_25;
}
else
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
lean_dec(x_2);
x_26 = lean_ctor_get(x_1, 0);
lean_inc(x_26);
x_27 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_27);
x_28 = lean_ctor_get(x_1, 2);
lean_inc(x_28);
lean_dec_ref(x_1);
x_29 = l_Lean_IR_formatDecl___closed__3;
x_30 = 1;
x_31 = l_Lean_Name_toString(x_26, x_30);
x_32 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_32, 0, x_31);
x_33 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_33, 0, x_29);
lean_ctor_set(x_33, 1, x_32);
x_34 = l_Lean_IR_formatArray___at___00Lean_IR_formatParams_spec__0(x_27);
lean_dec_ref(x_27);
x_35 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_35, 0, x_33);
lean_ctor_set(x_35, 1, x_34);
x_36 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3;
x_37 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_37, 0, x_35);
lean_ctor_set(x_37, 1, x_36);
x_38 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_28);
x_39 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_39, 0, x_37);
lean_ctor_set(x_39, 1, x_38);
return x_39;
}
}
}
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatDecl___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = lean_unsigned_to_nat(2u);
x_3 = l_Lean_IR_formatDecl(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_IR_instToFormatDecl() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_IR_instToFormatDecl___lam__0), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_declToString(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_2 = lean_unsigned_to_nat(2u);
x_3 = l_Lean_IR_formatDecl(x_1, x_2);
x_4 = l_Lean_IR_instToStringExpr___lam__0___closed__0;
x_5 = lean_unsigned_to_nat(0u);
x_6 = l_Std_Format_pretty(x_3, x_4, x_5, x_5);
return x_6;
}
}
static lean_object* _init_l_Lean_IR_instToStringDecl___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_IR_declToString), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_instToStringDecl() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_IR_instToStringDecl___closed__0;
return x_1;
}
}
lean_object* initialize_Lean_Compiler_IR_Basic(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Compiler_IR_Format(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Compiler_IR_Basic(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__0);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__2 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__2();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__2);
l_Lean_IR_instToFormatArg___closed__0 = _init_l_Lean_IR_instToFormatArg___closed__0();
lean_mark_persistent(l_Lean_IR_instToFormatArg___closed__0);
l_Lean_IR_instToFormatArg = _init_l_Lean_IR_instToFormatArg();
lean_mark_persistent(l_Lean_IR_instToFormatArg);
l_Lean_IR_formatArray___redArg___closed__6 = _init_l_Lean_IR_formatArray___redArg___closed__6();
lean_mark_persistent(l_Lean_IR_formatArray___redArg___closed__6);
l_Lean_IR_formatArray___redArg___closed__5 = _init_l_Lean_IR_formatArray___redArg___closed__5();
lean_mark_persistent(l_Lean_IR_formatArray___redArg___closed__5);
l_Lean_IR_formatArray___redArg___closed__4 = _init_l_Lean_IR_formatArray___redArg___closed__4();
lean_mark_persistent(l_Lean_IR_formatArray___redArg___closed__4);
l_Lean_IR_formatArray___redArg___closed__3 = _init_l_Lean_IR_formatArray___redArg___closed__3();
lean_mark_persistent(l_Lean_IR_formatArray___redArg___closed__3);
l_Lean_IR_formatArray___redArg___closed__2 = _init_l_Lean_IR_formatArray___redArg___closed__2();
lean_mark_persistent(l_Lean_IR_formatArray___redArg___closed__2);
l_Lean_IR_formatArray___redArg___closed__1 = _init_l_Lean_IR_formatArray___redArg___closed__1();
lean_mark_persistent(l_Lean_IR_formatArray___redArg___closed__1);
l_Lean_IR_formatArray___redArg___closed__0 = _init_l_Lean_IR_formatArray___redArg___closed__0();
lean_mark_persistent(l_Lean_IR_formatArray___redArg___closed__0);
l_Lean_IR_formatArray___redArg___closed__7 = _init_l_Lean_IR_formatArray___redArg___closed__7();
lean_mark_persistent(l_Lean_IR_formatArray___redArg___closed__7);
l_Lean_IR_formatArray___redArg___closed__8 = _init_l_Lean_IR_formatArray___redArg___closed__8();
lean_mark_persistent(l_Lean_IR_formatArray___redArg___closed__8);
l_Lean_IR_formatArray___redArg___closed__9 = _init_l_Lean_IR_formatArray___redArg___closed__9();
lean_mark_persistent(l_Lean_IR_formatArray___redArg___closed__9);
l_Lean_IR_formatArray___redArg___lam__0___closed__0 = _init_l_Lean_IR_formatArray___redArg___lam__0___closed__0();
lean_mark_persistent(l_Lean_IR_formatArray___redArg___lam__0___closed__0);
l_Lean_IR_formatArray___redArg___lam__0___closed__1 = _init_l_Lean_IR_formatArray___redArg___lam__0___closed__1();
lean_mark_persistent(l_Lean_IR_formatArray___redArg___lam__0___closed__1);
l_Lean_IR_instToFormatLitVal___closed__0 = _init_l_Lean_IR_instToFormatLitVal___closed__0();
lean_mark_persistent(l_Lean_IR_instToFormatLitVal___closed__0);
l_Lean_IR_instToFormatLitVal = _init_l_Lean_IR_instToFormatLitVal();
lean_mark_persistent(l_Lean_IR_instToFormatLitVal);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__0 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__0();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__0);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__2 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__2();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__2);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__5 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__5();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__5);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__6 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__6();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__6);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__7 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__7();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__7);
l_Lean_IR_instToFormatCtorInfo___closed__0 = _init_l_Lean_IR_instToFormatCtorInfo___closed__0();
lean_mark_persistent(l_Lean_IR_instToFormatCtorInfo___closed__0);
l_Lean_IR_instToFormatCtorInfo = _init_l_Lean_IR_instToFormatCtorInfo();
lean_mark_persistent(l_Lean_IR_instToFormatCtorInfo);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__0 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__0();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__0);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__1 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__1();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__1);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__2 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__2();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__2);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__6 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__6();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__6);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__9 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__9();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__9);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__12 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__12();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__12);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__13 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__13();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__13);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__15 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__15();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__15);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__16 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__16();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__16);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__18 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__18();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__18);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__19 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__19();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__19);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__20 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__20();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__20);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__21 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__21();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__21);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__23 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__23();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__23);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__24 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__24();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__24);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__26 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__26();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__26);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__27 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__27();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__27);
l_Lean_IR_instToFormatExpr___closed__0 = _init_l_Lean_IR_instToFormatExpr___closed__0();
lean_mark_persistent(l_Lean_IR_instToFormatExpr___closed__0);
l_Lean_IR_instToFormatExpr = _init_l_Lean_IR_instToFormatExpr();
lean_mark_persistent(l_Lean_IR_instToFormatExpr);
l_Lean_IR_instToStringExpr___lam__0___closed__0 = _init_l_Lean_IR_instToStringExpr___lam__0___closed__0();
lean_mark_persistent(l_Lean_IR_instToStringExpr___lam__0___closed__0);
l_Lean_IR_instToStringExpr = _init_l_Lean_IR_instToStringExpr();
lean_mark_persistent(l_Lean_IR_instToStringExpr);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__0 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__0();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__0);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__1 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__1();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__1);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__2 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__2();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__2);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__3 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__3();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__3);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__4 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__4();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__4);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__5 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__5();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__5);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__6 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__6();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__6);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__7 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__7();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__7);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__8 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__8();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__8);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__9 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__9();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__9);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__10 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__10();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__10);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__11 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__11();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__11);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__12 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__12();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__12);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__13 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__13();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__13);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__14 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__14();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__14);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__15 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__15();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__15);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__16 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__16();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__16);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__17 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__17();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__17);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__23 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__23();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__23);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__26 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__26();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__26);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__27 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__27();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__27);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__28 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__28();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__28);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__29 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__29();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__29);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__30 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__30();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__30);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__31 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__31();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__31);
l_Lean_IR_instToFormatIRType___closed__0 = _init_l_Lean_IR_instToFormatIRType___closed__0();
lean_mark_persistent(l_Lean_IR_instToFormatIRType___closed__0);
l_Lean_IR_instToFormatIRType = _init_l_Lean_IR_instToFormatIRType();
lean_mark_persistent(l_Lean_IR_instToFormatIRType);
l_Lean_IR_instToStringIRType = _init_l_Lean_IR_instToStringIRType();
lean_mark_persistent(l_Lean_IR_instToStringIRType);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__0 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__0();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__0);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__1 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__1();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__1);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__2 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__2();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__2);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__5 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__5();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__5);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__6 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__6();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__6);
l_Lean_IR_instToFormatParam___closed__0 = _init_l_Lean_IR_instToFormatParam___closed__0();
lean_mark_persistent(l_Lean_IR_instToFormatParam___closed__0);
l_Lean_IR_instToFormatParam = _init_l_Lean_IR_instToFormatParam();
lean_mark_persistent(l_Lean_IR_instToFormatParam);
l_Lean_IR_formatAlt___closed__0 = _init_l_Lean_IR_formatAlt___closed__0();
lean_mark_persistent(l_Lean_IR_formatAlt___closed__0);
l_Lean_IR_formatAlt___closed__1 = _init_l_Lean_IR_formatAlt___closed__1();
lean_mark_persistent(l_Lean_IR_formatAlt___closed__1);
l_Lean_IR_formatAlt___closed__2 = _init_l_Lean_IR_formatAlt___closed__2();
lean_mark_persistent(l_Lean_IR_formatAlt___closed__2);
l_Lean_IR_formatAlt___closed__3 = _init_l_Lean_IR_formatAlt___closed__3();
lean_mark_persistent(l_Lean_IR_formatAlt___closed__3);
l_Lean_IR_formatFnBodyHead___closed__0 = _init_l_Lean_IR_formatFnBodyHead___closed__0();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__0);
l_Lean_IR_formatFnBodyHead___closed__1 = _init_l_Lean_IR_formatFnBodyHead___closed__1();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__1);
l_Lean_IR_formatFnBodyHead___closed__2 = _init_l_Lean_IR_formatFnBodyHead___closed__2();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__2);
l_Lean_IR_formatFnBodyHead___closed__3 = _init_l_Lean_IR_formatFnBodyHead___closed__3();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__3);
l_Lean_IR_formatFnBodyHead___closed__4 = _init_l_Lean_IR_formatFnBodyHead___closed__4();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__4);
l_Lean_IR_formatFnBodyHead___closed__5 = _init_l_Lean_IR_formatFnBodyHead___closed__5();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__5);
l_Lean_IR_formatFnBodyHead___closed__6 = _init_l_Lean_IR_formatFnBodyHead___closed__6();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__6);
l_Lean_IR_formatFnBodyHead___closed__7 = _init_l_Lean_IR_formatFnBodyHead___closed__7();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__7);
l_Lean_IR_formatFnBodyHead___closed__8 = _init_l_Lean_IR_formatFnBodyHead___closed__8();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__8);
l_Lean_IR_formatFnBodyHead___closed__9 = _init_l_Lean_IR_formatFnBodyHead___closed__9();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__9);
l_Lean_IR_formatFnBodyHead___closed__10 = _init_l_Lean_IR_formatFnBodyHead___closed__10();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__10);
l_Lean_IR_formatFnBodyHead___closed__11 = _init_l_Lean_IR_formatFnBodyHead___closed__11();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__11);
l_Lean_IR_formatFnBodyHead___closed__12 = _init_l_Lean_IR_formatFnBodyHead___closed__12();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__12);
l_Lean_IR_formatFnBodyHead___closed__13 = _init_l_Lean_IR_formatFnBodyHead___closed__13();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__13);
l_Lean_IR_formatFnBodyHead___closed__14 = _init_l_Lean_IR_formatFnBodyHead___closed__14();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__14);
l_Lean_IR_formatFnBodyHead___closed__15 = _init_l_Lean_IR_formatFnBodyHead___closed__15();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__15);
l_Lean_IR_formatFnBodyHead___closed__16 = _init_l_Lean_IR_formatFnBodyHead___closed__16();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__16);
l_Lean_IR_formatFnBodyHead___closed__17 = _init_l_Lean_IR_formatFnBodyHead___closed__17();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__17);
l_Lean_IR_formatFnBodyHead___closed__18 = _init_l_Lean_IR_formatFnBodyHead___closed__18();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__18);
l_Lean_IR_formatFnBodyHead___closed__19 = _init_l_Lean_IR_formatFnBodyHead___closed__19();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__19);
l_Lean_IR_formatFnBodyHead___closed__20 = _init_l_Lean_IR_formatFnBodyHead___closed__20();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__20);
l_Lean_IR_formatFnBodyHead___closed__21 = _init_l_Lean_IR_formatFnBodyHead___closed__21();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__21);
l_Lean_IR_formatFnBodyHead___closed__22 = _init_l_Lean_IR_formatFnBodyHead___closed__22();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__22);
l_Lean_IR_formatFnBodyHead___closed__23 = _init_l_Lean_IR_formatFnBodyHead___closed__23();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__23);
l_Lean_IR_formatFnBodyHead___closed__24 = _init_l_Lean_IR_formatFnBodyHead___closed__24();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__24);
l_Lean_IR_formatFnBodyHead___closed__25 = _init_l_Lean_IR_formatFnBodyHead___closed__25();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__25);
l_Lean_IR_formatFnBodyHead___closed__26 = _init_l_Lean_IR_formatFnBodyHead___closed__26();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__26);
l_Lean_IR_formatFnBodyHead___closed__27 = _init_l_Lean_IR_formatFnBodyHead___closed__27();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__27);
l_Lean_IR_formatFnBodyHead___closed__28 = _init_l_Lean_IR_formatFnBodyHead___closed__28();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__28);
l_Lean_IR_formatFnBodyHead___closed__29 = _init_l_Lean_IR_formatFnBodyHead___closed__29();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__29);
l_Lean_IR_formatFnBodyHead___closed__30 = _init_l_Lean_IR_formatFnBodyHead___closed__30();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__30);
l_Lean_IR_formatFnBodyHead___closed__31 = _init_l_Lean_IR_formatFnBodyHead___closed__31();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__31);
l_Lean_IR_formatFnBodyHead___closed__32 = _init_l_Lean_IR_formatFnBodyHead___closed__32();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__32);
l_Lean_IR_formatFnBodyHead___closed__33 = _init_l_Lean_IR_formatFnBodyHead___closed__33();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__33);
l_Lean_IR_formatFnBodyHead___closed__34 = _init_l_Lean_IR_formatFnBodyHead___closed__34();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__34);
l_Lean_IR_formatFnBodyHead___closed__35 = _init_l_Lean_IR_formatFnBodyHead___closed__35();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__35);
l_Lean_IR_formatFnBodyHead___closed__36 = _init_l_Lean_IR_formatFnBodyHead___closed__36();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__36);
l_Lean_IR_formatFnBodyHead___closed__37 = _init_l_Lean_IR_formatFnBodyHead___closed__37();
lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__37);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__0 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__0();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__0);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__1 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__1();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__1);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__2 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__2();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__2);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__3 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__3();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__3);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__4 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__4();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__4);
l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__5 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__5();
lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatFnBody_loop___closed__5);
l_Lean_IR_instToFormatFnBody = _init_l_Lean_IR_instToFormatFnBody();
lean_mark_persistent(l_Lean_IR_instToFormatFnBody);
l_Lean_IR_instToStringFnBody = _init_l_Lean_IR_instToStringFnBody();
lean_mark_persistent(l_Lean_IR_instToStringFnBody);
l_Lean_IR_formatDecl___closed__0 = _init_l_Lean_IR_formatDecl___closed__0();
lean_mark_persistent(l_Lean_IR_formatDecl___closed__0);
l_Lean_IR_formatDecl___closed__1 = _init_l_Lean_IR_formatDecl___closed__1();
lean_mark_persistent(l_Lean_IR_formatDecl___closed__1);
l_Lean_IR_formatDecl___closed__2 = _init_l_Lean_IR_formatDecl___closed__2();
lean_mark_persistent(l_Lean_IR_formatDecl___closed__2);
l_Lean_IR_formatDecl___closed__3 = _init_l_Lean_IR_formatDecl___closed__3();
lean_mark_persistent(l_Lean_IR_formatDecl___closed__3);
l_Lean_IR_instToFormatDecl = _init_l_Lean_IR_instToFormatDecl();
lean_mark_persistent(l_Lean_IR_instToFormatDecl);
l_Lean_IR_instToStringDecl___closed__0 = _init_l_Lean_IR_instToStringDecl___closed__0();
lean_mark_persistent(l_Lean_IR_instToStringDecl___closed__0);
l_Lean_IR_instToStringDecl = _init_l_Lean_IR_instToStringDecl();
lean_mark_persistent(l_Lean_IR_instToStringDecl);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
